package com.axxc.jpa;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@EnableScheduling // 激活定时任务
@EnableAsync // 激活异步
@EnableAspectJAutoProxy // 激活切面
@EnableCaching // 启用缓存注解
@ServletComponentScan // 扫描servlet相关特殊类,filter,listener
public class SpringDataJpaXXCApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringDataJpaXXCApplication.class, args);
	}
}
